<template>
  <div id="app">
    <Print v-show="true" ref="print" />
    <button @click="print" style="margin:10px;width:150px;height:50px;">打印小票</button>
    <table border>
      <tr>
        <th>下载列表</th>
      </tr>
      <tr>
        <td><a href="/CLodop_Setup_for_Win32NT.exe" download="CLodop_Setup_for_Win32NT.exe">CLodop_Setup_for_Win32NT.exe</a></td>
      </tr>
      <tr>
        <td><a href="/install_lodop32.exe" download="install_lodop32.exe">install_lodop32.exe</a></td>
      </tr>
      <tr>
        <td><a href="/install_lodop64.exe" download="install_lodop64.exe">install_lodop64.exe</a></td>
      </tr>
      <tr>
        <td><a href="/Lodop6.226_Clodop4.113.zip" download="Lodop6.226_Clodop4.113.zip">Lodop6.226_Clodop4.113.zip</a></td>
      </tr>
      <tr>
        <td><a href="/Lodop技术手册6.2.2.6.doc" download="Lodop技术手册6.2.2.6.doc">Lodop技术手册6.2.2.6.doc</a></td>
      </tr>
      <tr>
        <td><a href="/云打印C-Lodop技术手册4.1.0.6（20200927）.doc" download="云打印C-Lodop技术手册4.1.0.6（20200927）.doc">云打印C-Lodop技术手册4.1.0.6（20200927）.doc</a></td>
      </tr>
    </table>
  </div>
</template>

<script>
import Print from './components/Print.vue'

export default {
  name: 'App',
  components: {
    Print
  },
  methods: {
    print () {
      this.$refs.print.btnClickPrint()
    }
  }
}
</script>
